#!/usr/bin/bash

# 将1-100累加

n=1
sum=0

until [ $n -gt 100 ]
do
    sum=$(($sum+$n))
    n=$(($n+1))
done

echo $sum